package com.rx.service;

import java.util.List;
import java.util.Map;

public interface BaseServiceI<T> {
	//添加用户
		public boolean add(T t) throws Exception;
		//修改用户
		public boolean modify(T t) throws Exception;
		//删除用户
		public boolean remove(int id) throws Exception;
		//获取记录方法
		public List<T> getAll() throws Exception;
		//
		public Map<String,Object> getPageAll(int currentPage,int pageSize)  throws Exception;
		
}
